package com.weixin.dao;

import java.util.ArrayList;
import java.util.List;

import com.jfinal.plugin.activerecord.Model;
import com.weixin.utils.DateUtils;

public class City extends Model<City>{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String month  = DateUtils.getMonth()+1;
	private String day = DateUtils.getDay();
	/**
	 * 根据城市查门店
	 * @param city
	 * @param code
	 * @param store
	 * @return
	 */
	
	public List<City> selectAll(String province_id){
		return find("select * from city where province_id = ?",province_id);
	}
}
